<script setup>
import HelloWorld from './components/HelloWorld.vue'
import TheWelcome from './components/TheWelcome.vue'
import AppTitle from "@/components/AppTitle.vue";
import AppBanner from "@/components/AppBanner.vue";
import AppGameTypes from "@/components/AppGameTypes.vue";
import AppFoot from "@/components/AppFoot.vue";
import AppBgi from "@/components/AppBgi.vue";
</script>

<template>
  <div class="app_area" id="app_area">
    <div class="app_title">
      <app-title selected-button="1"></app-title>
    </div>
    <div class="gap1" style="width: 1200px;height: 80px"></div>
    <div class="app_content">
      <app-banner></app-banner>
      <div class="gap2" style="height: 20px"></div>
      <app-game-types></app-game-types>
    </div>
    <div class="gap3" style="height: 20px"></div>
    <div class="app_foot">
<app-foot></app-foot>
    </div>
  </div>
</template>

<style scoped>



.app_title{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
}

.app_content{
  width: 1200px;
  height: auto;
  /*background-color: yellow;*/
  display: inline-block;
  text-align: left;
  padding-top: 50px;
  padding-bottom: 20px;
}

app-title{
  position: fixed;
  left: 0;
  top: 0;
}

.app_area{
  width: 100vw;
  height: 100vh;
  position: absolute;
  left: 0;
  top: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("./assets/indexbgi.png");

  text-align: center;

  overflow-x: hidden;
}

header {
  line-height: 1.5;
}

.logo {
  display: block;
  margin: 0 auto 2rem;
}

@media (min-width: 1024px) {
  header {
    display: flex;
    place-items: center;
    padding-right: calc(var(--section-gap) / 2);
  }

  .logo {
    margin: 0 2rem 0 0;
  }

  header .wrapper {
    display: flex;
    place-items: flex-start;
    flex-wrap: wrap;
  }
}
</style>
